from rest_framework.routers import DefaultRouter

from . import views


# 创建router对象
router = DefaultRouter()
router.register('areas', views.AreasViewSet, base_name='areas')
urlpatterns = []
urlpatterns += router.urls






